package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.LogisticsStatusHistory;
import com.example.mall.dto.LogisticsStatusHistoryDto;
import com.example.mall.query.LogisticsStatusHistoryQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 物流状态历史表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface ILogisticsStatusHistoryService extends IService<LogisticsStatusHistory> {

    //分页查询物流状态历史表信息
    PageDTO<LogisticsStatusHistoryDto> queryPage(LogisticsStatusHistoryQuery logisticsStatusHistoryQuery);

    //新增物流状态历史表
    void insert(LogisticsStatusHistoryDto logisticsStatusHistoryDto);
    //修改物流状态历史表信息
    void update(LogisticsStatusHistoryDto logisticsStatusHistoryDto);
    //删除物流状态历史表信息
    void delete(Long historyId);
    //批量删除物流状态历史表信息
    void deleteBatch(List<Long> historyIds);
    //根据id查询物流状态历史表信息
    LogisticsStatusHistory queryLogisticsStatusHistoryById(Long historyId);

    //查询全部物流状态历史表信息
    List<LogisticsStatusHistory> queryLogisticsStatusHistoryList();
}
